.class public Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;
.super Lcom/xingbook/park/activity/BaseActivity;

# interfaces
.implements Lcom/xingbook/service/download/f;


# instance fields
.field a:Lcom/xingbook/park/ui/r;

.field b:Lcom/xingbook/audio/d/l;

.field c:Lcom/xingbook/audio/d/d;

.field private d:Landroid/widget/ListView;

.field private e:Landroid/widget/RelativeLayout;

.field private f:Lcom/xingbook/ui/t;

.field private g:Lcom/xingbook/park/ui/p;

.field private h:Lcom/xingbook/audio/d/b;

.field private i:Lcom/xingbook/audio/b/a;

.field private l:Ljava/lang/String;

.field private m:Lcom/xingbook/audio/a/a;

.field private n:I

.field private o:Z

.field private p:Lcom/xingbook/audio/activity/h;

.field private q:Lcom/xingbook/audio/c/b;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/xingbook/park/activity/BaseActivity;-><init>()V

    const v0, 0x8040

    iput v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->n:I

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->o:Z

    new-instance v0, Lcom/xingbook/audio/activity/h;

    invoke-direct {v0, p0}, Lcom/xingbook/audio/activity/h;-><init>(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)V

    iput-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->p:Lcom/xingbook/audio/activity/h;

    new-instance v0, Lcom/xingbook/audio/activity/a;

    invoke-direct {v0, p0}, Lcom/xingbook/audio/activity/a;-><init>(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)V

    iput-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->a:Lcom/xingbook/park/ui/r;

    new-instance v0, Lcom/xingbook/audio/activity/b;

    invoke-direct {v0, p0}, Lcom/xingbook/audio/activity/b;-><init>(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)V

    iput-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->b:Lcom/xingbook/audio/d/l;

    new-instance v0, Lcom/xingbook/audio/activity/c;

    invoke-direct {v0, p0}, Lcom/xingbook/audio/activity/c;-><init>(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)V

    iput-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->c:Lcom/xingbook/audio/d/d;

    new-instance v0, Lcom/xingbook/audio/activity/e;

    invoke-direct {v0, p0}, Lcom/xingbook/audio/activity/e;-><init>(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)V

    iput-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->q:Lcom/xingbook/audio/c/b;

    return-void
.end method

.method static synthetic a(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)Lcom/xingbook/audio/b/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->i:Lcom/xingbook/audio/b/a;

    return-object v0
.end method

.method private a(I)V
    .locals 4

    const/4 v3, 0x1

    const/4 v2, 0x0

    invoke-virtual {p0}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    :goto_0
    return-void

    :cond_0
    invoke-virtual {p0, v3}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->a(Z)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->p:Lcom/xingbook/audio/activity/h;

    invoke-virtual {v0, v2}, Lcom/xingbook/audio/activity/h;->sendEmptyMessage(I)Z

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->g()Lcom/xingbook/park/d/e;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->l:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/xingbook/park/d/e;->h(Ljava/lang/String;)Lcom/xingbook/audio/b/a;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->i:Lcom/xingbook/audio/b/a;

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->i:Lcom/xingbook/audio/b/a;

    if-nez v0, :cond_1

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/audio/activity/g;

    invoke-direct {v1, p0, p1}, Lcom/xingbook/audio/activity/g;-><init>(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;I)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->p:Lcom/xingbook/audio/activity/h;

    const/4 v1, 0x0

    invoke-virtual {v0, v3, v1}, Lcom/xingbook/audio/activity/h;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    invoke-virtual {p0, v2}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->a(Z)V

    goto :goto_0
.end method

.method public static final a(Landroid/content/Context;Lcom/xingbook/audio/b/a;)V
    .locals 3

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    new-instance v1, Landroid/os/Bundle;

    invoke-direct {v1}, Landroid/os/Bundle;-><init>()V

    const-string v2, "com.xingbook.park.activity.AudioAlbumDetailAct.INTENT_ISPLAYLIST"

    invoke-virtual {v1, v2, p1}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V

    invoke-virtual {v0, v1}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    instance-of v1, p0, Landroid/app/Activity;

    if-nez v1, :cond_0

    const/high16 v1, 0x1000

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    :cond_0
    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method public static final a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)V
    .locals 2

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "com.xingbook.park.activity.AudioAlbumDetailAct.INTENT_ALBUMID"

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "com.xingbook.park.activity.AudioAlbumDetailAct.INTENT_ALBUMNAME"

    invoke-virtual {v0, v1, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "com.xingbook.park.activity.AudioAlbumDetailAct.INTENT_ALBUMTYPE"

    invoke-virtual {v0, v1, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    instance-of v1, p0, Landroid/app/Activity;

    if-nez v1, :cond_0

    const/high16 v1, 0x1000

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    :cond_0
    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->a(I)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;Lcom/xingbook/audio/b/a;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->i:Lcom/xingbook/audio/b/a;

    return-void
.end method

.method static synthetic b(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)Lcom/xingbook/audio/activity/h;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->p:Lcom/xingbook/audio/activity/h;

    return-object v0
.end method

.method static synthetic c(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)Lcom/xingbook/audio/c/b;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->q:Lcom/xingbook/audio/c/b;

    return-object v0
.end method

.method static synthetic d(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)Lcom/xingbook/audio/d/b;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->h:Lcom/xingbook/audio/d/b;

    return-object v0
.end method

.method static synthetic e(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)Landroid/widget/ListView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->d:Landroid/widget/ListView;

    return-object v0
.end method

.method static synthetic f(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)Lcom/xingbook/park/ui/p;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->g:Lcom/xingbook/park/ui/p;

    return-object v0
.end method

.method static synthetic g(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)Lcom/xingbook/ui/t;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->f:Lcom/xingbook/ui/t;

    return-object v0
.end method

.method static synthetic h(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)Lcom/xingbook/audio/a/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->m:Lcom/xingbook/audio/a/a;

    return-object v0
.end method

.method static synthetic i(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)I
    .locals 1

    iget v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->n:I

    return v0
.end method

.method static synthetic j(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->l:Ljava/lang/String;

    return-object v0
.end method


# virtual methods
.method public a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V
    .locals 1

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    invoke-virtual {v0, p1, p2, p3, p4}, Lcom/xingbook/service/download/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V

    return-void
.end method

.method public declared-synchronized a(Z)V
    .locals 1

    monitor-enter p0

    :try_start_0
    iput-boolean p1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->o:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized a()Z
    .locals 1

    monitor-enter p0

    :try_start_0
    iget-boolean v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->o:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return v0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public e()Ljava/lang/String;
    .locals 2

    iget v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->n:I

    const v1, 0x8040

    if-ne v0, v1, :cond_0

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u661f\u5b9d\u513f\u6b4c-\u4e13\u8f91\u8be6\u60c5"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    iget v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->n:I

    const v1, 0x8050

    if-ne v0, v1, :cond_1

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u661f\u5b9d\u542c\u542c-\u4e13\u8f91\u8be6\u60c5"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_1
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u97f3\u9891\u4e13\u8f91\u8be6\u60c5"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 8

    const/4 v7, 0x0

    const/4 v6, -0x1

    const/4 v3, 0x0

    invoke-virtual {p0}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v1

    if-eqz v1, :cond_9

    const-string v0, "com.xingbook.park.activity.AudioAlbumDetailAct.INTENT_ALBUMID"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string v0, "com.xingbook.park.activity.AudioAlbumDetailAct.INTENT_ALBUMID"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->l:Ljava/lang/String;

    :cond_0
    const-string v0, "com.xingbook.park.activity.AudioAlbumDetailAct.INTENT_ISPLAYLIST"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const-string v0, "com.xingbook.park.activity.AudioAlbumDetailAct.INTENT_ISPLAYLIST"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->getSerializable(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/xingbook/audio/b/a;

    iput-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->i:Lcom/xingbook/audio/b/a;

    :cond_1
    const-string v0, "com.xingbook.park.activity.AudioAlbumDetailAct.INTENT_ALBUMTYPE"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    const-string v0, "com.xingbook.park.activity.AudioAlbumDetailAct.INTENT_ALBUMTYPE"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->n:I

    :cond_2
    const-string v0, "com.xingbook.park.activity.AudioAlbumDetailAct.INTENT_ALBUMTYPE"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_9

    const-string v0, "com.xingbook.park.activity.AudioAlbumDetailAct.INTENT_ALBUMNAME"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_0
    iget-object v1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->l:Ljava/lang/String;

    if-eqz v1, :cond_3

    const-string v1, ""

    iget-object v2, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->l:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    :cond_3
    iget-object v1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->i:Lcom/xingbook/audio/b/a;

    if-nez v1, :cond_4

    invoke-super {p0, p1}, Lcom/xingbook/park/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    const-string v0, "\u62b1\u6b49\uff0c\u5f53\u524d\u9875\u9762\u6570\u636e\u9519\u8bef\uff0c\u8bf7\u91cd\u65b0\u83b7\u53d6\uff01"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    invoke-virtual {p0}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->finish()V

    :goto_1
    return-void

    :cond_4
    invoke-virtual {p0}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    new-instance v2, Landroid/widget/RelativeLayout;

    invoke-direct {v2, v1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->e:Landroid/widget/RelativeLayout;

    iget-object v2, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->e:Landroid/widget/RelativeLayout;

    invoke-virtual {v2, v6}, Landroid/widget/RelativeLayout;->setBackgroundColor(I)V

    iget-object v2, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->e:Landroid/widget/RelativeLayout;

    invoke-virtual {p0, v2}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->setContentView(Landroid/view/View;)V

    if-eqz v0, :cond_5

    const-string v2, ""

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_6

    :cond_5
    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->i:Lcom/xingbook/audio/b/a;

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->i:Lcom/xingbook/audio/b/a;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/a;->u()Ljava/lang/String;

    move-result-object v0

    :cond_6
    :goto_2
    invoke-static {p0}, Lcom/xingbook/c/n;->c(Landroid/app/Activity;)I

    move-result v2

    new-instance v4, Lcom/xingbook/ui/t;

    new-instance v5, Lcom/xingbook/audio/activity/f;

    invoke-direct {v5, p0}, Lcom/xingbook/audio/activity/f;-><init>(Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;)V

    invoke-direct {v4, p0, v5}, Lcom/xingbook/ui/t;-><init>(Landroid/app/Activity;Lcom/xingbook/ui/x;)V

    iput-object v4, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->f:Lcom/xingbook/ui/t;

    iget-object v4, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->f:Lcom/xingbook/ui/t;

    const v5, 0x7f0a0019

    invoke-virtual {v4, v5}, Lcom/xingbook/ui/t;->setId(I)V

    iget-object v4, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->f:Lcom/xingbook/ui/t;

    iput-object v0, v4, Lcom/xingbook/ui/t;->c:Ljava/lang/String;

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->f:Lcom/xingbook/ui/t;

    const/high16 v4, 0x3300

    invoke-virtual {v0, v4}, Lcom/xingbook/ui/t;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->f:Lcom/xingbook/ui/t;

    invoke-virtual {p0}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f0202a8

    invoke-static {v4, v5}, Lcom/xingbook/c/n;->a(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v4

    iput-object v4, v0, Lcom/xingbook/ui/t;->e:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->f:Lcom/xingbook/ui/t;

    new-instance v4, Landroid/widget/RelativeLayout$LayoutParams;

    sget v5, Lcom/xingbook/ui/t;->b:I

    invoke-direct {v4, v2, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v4}, Lcom/xingbook/ui/t;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->e:Landroid/widget/RelativeLayout;

    iget-object v2, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->f:Lcom/xingbook/ui/t;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->f(Landroid/app/Activity;)F

    move-result v0

    new-instance v2, Lcom/xingbook/audio/d/b;

    iget-object v4, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->c:Lcom/xingbook/audio/d/d;

    invoke-direct {v2, p0, v0, v4}, Lcom/xingbook/audio/d/b;-><init>(Landroid/app/Activity;FLcom/xingbook/audio/d/d;)V

    iput-object v2, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->h:Lcom/xingbook/audio/d/b;

    new-instance v0, Landroid/widget/ListView;

    invoke-direct {v0, v1}, Landroid/widget/ListView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->d:Landroid/widget/ListView;

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->d:Landroid/widget/ListView;

    const v1, 0xffffff

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setCacheColorHint(I)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->d:Landroid/widget/ListView;

    const v1, 0x7f070043

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setSelector(I)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->d:Landroid/widget/ListView;

    invoke-virtual {v0, v3}, Landroid/widget/ListView;->setDividerHeight(I)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v0, v6, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->d:Landroid/widget/ListView;

    invoke-virtual {v1, v0}, Landroid/widget/ListView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->e:Landroid/widget/RelativeLayout;

    iget-object v2, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->d:Landroid/widget/ListView;

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    iget-object v1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->f:Lcom/xingbook/ui/t;

    invoke-virtual {v1}, Lcom/xingbook/ui/t;->bringToFront()V

    iget-object v1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->d:Landroid/widget/ListView;

    iget-object v2, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->h:Lcom/xingbook/audio/d/b;

    invoke-virtual {v1, v2}, Landroid/widget/ListView;->addHeaderView(Landroid/view/View;)V

    iget-object v1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->e:Landroid/widget/RelativeLayout;

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v2

    iget-object v4, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->a:Lcom/xingbook/park/ui/r;

    invoke-static {p0, v1, v2, v4}, Lcom/xingbook/park/ui/p;->a(Landroid/app/Activity;Landroid/widget/RelativeLayout;FLcom/xingbook/park/ui/r;)Lcom/xingbook/park/ui/p;

    move-result-object v1

    iput-object v1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->g:Lcom/xingbook/park/ui/p;

    iget-object v1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->g:Lcom/xingbook/park/ui/p;

    invoke-virtual {v1, v0}, Lcom/xingbook/park/ui/p;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {p0}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->e:Landroid/widget/RelativeLayout;

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v2

    move v4, v3

    move v5, v3

    move v6, v3

    invoke-static/range {v0 .. v6}, Lcom/xingbook/park/ui/a;->a(Landroid/content/Context;Landroid/widget/RelativeLayout;FIIII)Lcom/xingbook/park/ui/a;

    invoke-super {p0, p1}, Lcom/xingbook/park/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    new-instance v0, Lcom/xingbook/audio/a/a;

    iget-object v1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->b:Lcom/xingbook/audio/d/l;

    invoke-direct {v0, p0, v1}, Lcom/xingbook/audio/a/a;-><init>(Landroid/app/Activity;Lcom/xingbook/audio/d/l;)V

    iput-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->m:Lcom/xingbook/audio/a/a;

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->m:Lcom/xingbook/audio/a/a;

    invoke-virtual {v0}, Lcom/xingbook/audio/a/a;->j()Lcom/xingbook/park/c/a/o;

    move-result-object v0

    invoke-virtual {v0, v3, v7}, Lcom/xingbook/park/c/a/o;->a(ZLjava/lang/String;)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->i:Lcom/xingbook/audio/b/a;

    if-nez v0, :cond_8

    const/16 v0, 0x96

    invoke-direct {p0, v0}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->a(I)V

    :goto_3
    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->m:Lcom/xingbook/audio/a/a;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->a(Lcom/xingbook/service/download/m;)V

    goto/16 :goto_1

    :cond_7
    const-string v0, "\u4e13\u8f91\u8be6\u60c5"

    goto/16 :goto_2

    :cond_8
    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->i:Lcom/xingbook/audio/b/a;

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/c/n;->g()Lcom/xingbook/park/d/e;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/audio/b/a;->a(Lcom/xingbook/park/d/e;)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->m:Lcom/xingbook/audio/a/a;

    iget-object v1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->i:Lcom/xingbook/audio/b/a;

    invoke-virtual {v1}, Lcom/xingbook/audio/b/a;->h()Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/audio/a/a;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->h:Lcom/xingbook/audio/d/b;

    iget-object v1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->i:Lcom/xingbook/audio/b/a;

    invoke-virtual {v0, v1}, Lcom/xingbook/audio/d/b;->setData(Lcom/xingbook/audio/b/a;)V

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->d:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->m:Lcom/xingbook/audio/a/a;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    goto :goto_3

    :cond_9
    move-object v0, v7

    goto/16 :goto_0
.end method

.method protected onDestroy()V
    .locals 2

    invoke-static {p0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->m:Lcom/xingbook/audio/a/a;

    invoke-virtual {v0, v1}, Lcom/xingbook/service/download/b;->b(Lcom/xingbook/service/download/m;)V

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onDestroy()V

    return-void
.end method

.method protected onPause()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onPause()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onPause(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->b(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->a(Landroid/content/Context;)V

    return-void
.end method

.method protected onResume()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->m:Lcom/xingbook/audio/a/a;

    invoke-virtual {v0}, Lcom/xingbook/audio/a/a;->notifyDataSetChanged()V

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onResume()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onResume(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/audio/activity/AudioAlbumDetailActivity;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->b(Landroid/content/Context;)V

    return-void
.end method
